*** tcp close for sock 77, type 'nil', protocol 'nil', reason: 'POLLHUP', request length: (no request) bytes ***. 	27.1.2022 	12:26:44 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.1.2022 	12:26:44 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.1.2022 	12:35:59 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.1.2022 	12:35:59 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	27.1.2022 	12:35:59 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.1.2022 	12:35:59 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	27.1.2022 	12:35:59 	lx 	(1. Application process)

  database connect time: 0.0005 seconds. 	27.1.2022 	12:35:59 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	27.1.2022 	12:35:59 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.1.2022 	12:35:59 	lx 	(1. Application process)

* preference 'system/nc_server_start.json' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	27.1.2022 	12:35:59 	lx 	(1. Application process)

Tcp server 2 starting. 	27.1.2022 	12:35:59 	_lx_SERVER 	(4. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.1.2022 	12:35:59 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Product]Fixed. 	27.1.2022 	12:35:59 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Product]Available. 	27.1.2022 	12:35:59 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.1.2022 	12:35:59 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.1.2022 	12:35:59 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.1.2022 	12:35:59 	_lang STRUCTURE_TRANSLATE 	(5. tbl_ 4)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

  database connect time: 0.0003 seconds. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

* connect: connection changed to 'postgre-demo/fi_demo'. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0125ce7740, size: 400. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

All plugins have been loaded. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

* cached preference files: demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - system/4d.json. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

Mac address: f84d896921dc. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

closing socket '83'. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:572: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:779: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:145: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:144: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:129>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:66: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:18>]
. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

***  there is another instance of this program or some other program using the port 5949  ***  . 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

error: server has not been started - quit-lx-server. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:572: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:779: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:145: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:144: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:129>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:66: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:18>]. 	27.1.2022 	12:36:01 	_lx_SERVER 	(4. Tcp Server 2)

error: server has not been started - quit-lx-server. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

error: server has not been started - quit-lx-server. 	27.1.2022 	12:36:01 	_lx_SERVER 	(4. Tcp Server 2)

warning: -*-ERR: close socket is nil
. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

warning: -*-ERR: close socket is nil
. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            0
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  0/0
totalBytesReceived:   0
totalBytesSent:       0. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

--- server stopped ---. 	27.1.2022 	12:36:01 	lx 	(4. Tcp Server 2)

finalizer: free p1 	 cdata<void *>: 0x0125ce7740. 	27.1.2022 	12:36:02 	lx 	(4. Tcp Server 2)

Tcp server 2 stopped. 	27.1.2022 	12:36:03 	_lx_SERVER 	(4. Tcp Server 2)

Tcp server 2 starting. 	27.1.2022 	12:37:10 	_lx_SERVER 	(4. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

  database connect time: 0.0003 seconds. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

* connect: connection changed to 'postgre-demo/fi_demo'. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0121d4c4d0, size: 400. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

All plugins have been loaded. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

* cached preference files: demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - system/4d.json. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

Mac address: f84d896921dc. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

closing socket '84'. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:572: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:779: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:145: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:144: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:129>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:66: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:18>]
. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

***  there is another instance of this program or some other program using the port 5949  ***  . 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

error: server has not been started - quit-lx-server. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:572: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:779: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:145: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:144: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:129>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:66: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:18>]. 	27.1.2022 	12:37:12 	_lx_SERVER 	(4. Tcp Server 2)

error: server has not been started - quit-lx-server. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

error: server has not been started - quit-lx-server. 	27.1.2022 	12:37:12 	_lx_SERVER 	(4. Tcp Server 2)

warning: -*-ERR: close socket is nil
. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

warning: -*-ERR: close socket is nil
. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            0
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  0/0
totalBytesReceived:   0
totalBytesSent:       0. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

--- server stopped ---. 	27.1.2022 	12:37:12 	lx 	(4. Tcp Server 2)

finalizer: free p1 	 cdata<void *>: 0x0121d4c4d0. 	27.1.2022 	12:37:14 	lx 	(4. Tcp Server 2)

Tcp server 2 stopped. 	27.1.2022 	12:37:14 	_lx_SERVER 	(4. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.1.2022 	12:48:28 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.1.2022 	12:48:28 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	27.1.2022 	12:48:28 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.1.2022 	12:48:28 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	27.1.2022 	12:48:28 	lx 	(1. Application process)

  database connect time: 0.0003 seconds. 	27.1.2022 	12:48:28 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	27.1.2022 	12:48:28 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.1.2022 	12:48:28 	lx 	(1. Application process)

* preference 'system/nc_server_start.json' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	27.1.2022 	12:48:28 	lx 	(1. Application process)

Tcp server 2 starting. 	27.1.2022 	12:48:28 	_lx_SERVER 	(5. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.1.2022 	12:48:28 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Fixed. 	27.1.2022 	12:48:28 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Available. 	27.1.2022 	12:48:28 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.1.2022 	12:48:28 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.1.2022 	12:48:28 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.1.2022 	12:48:28 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

  database connect time: 0.0003 seconds. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

* connect: connection changed to 'postgre-demo/fi_demo'. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0129acd230, size: 400. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

All plugins have been loaded. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

* cached preference files: demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

Mac address: f84d896921dc. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949/. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

--- server started in 0.0046 seconds, 2022-01-27 12:48:30, used memory 3004.3 kb --- 	 5. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	27.1.2022 	12:48:30 	lx 	(5. Tcp Server 2)

1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-01-27 12:48:34
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 410
Content-Uncompressed-Length: 473

LZ4. 	27.1.2022 	12:48:34 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.1.2022 	12:48:34 	lx 	(5. Tcp Server 2)

    Connected to: 'Manageri v12 plg4d local, , database: plg4d, user: manage_demo'. 	27.1.2022 	12:48:34 	lx 	(5. Tcp Server 2)

  database connect time: 0.0002 seconds. 	27.1.2022 	12:48:34 	lx 	(5. Tcp Server 2)

* connect: connection changed from 'postgre-demo/fi_demo' to 'plg4d/plg4d'. 	27.1.2022 	12:48:34 	lx 	(5. Tcp Server 2)

 1. answer time: 00:00:00.00110
  
SELECT COUNT(*)
 FROM sales_order_row sor
 WHERE sor.change_id > '20220124.222003.e400c.sor_ zzy0ae544bd03e1d06'. 	27.1.2022 	12:48:34 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 674 bytes ***. 	27.1.2022 	12:48:51 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.1.2022 	12:48:51 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 579 bytes ***. 	27.1.2022 	12:49:15 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.1.2022 	12:49:15 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 2 785 bytes ***. 	27.1.2022 	12:50:46 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.1.2022 	12:50:46 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 2 767 bytes ***. 	27.1.2022 	12:51:15 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.1.2022 	12:51:15 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 639 bytes ***. 	27.1.2022 	12:53:39 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.1.2022 	12:53:39 	lx 	(5. Tcp Server 2)

*** tcp close for sock 77, type 'nil', protocol 'HTTP', reason: 'POLLHUP', request length: 639 bytes ***. 	27.1.2022 	12:54:57 	lx 	(5. Tcp Server 2)

closing socket '77'. 	27.1.2022 	12:54:57 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.1.2022 	17:11:05 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.1.2022 	17:11:05 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	27.1.2022 	17:11:05 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.1.2022 	17:11:05 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	27.1.2022 	17:11:05 	lx 	(1. Application process)

  database connect time: 0.0004 seconds. 	27.1.2022 	17:11:05 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	27.1.2022 	17:11:05 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.1.2022 	17:11:05 	lx 	(1. Application process)

* preference 'system/nc_server_start.json' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	27.1.2022 	17:11:05 	lx 	(1. Application process)

Tcp server 2 starting. 	27.1.2022 	17:11:05 	_lx_SERVER 	(5. Tcp Server 2)

Field has not been translated: [Product]Reserved. 	27.1.2022 	17:11:05 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Fixed. 	27.1.2022 	17:11:05 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Product]Available. 	27.1.2022 	17:11:05 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Phase_Actual]Previous_Track_Time. 	27.1.2022 	17:11:05 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Can_Be_Manufactured. 	27.1.2022 	17:11:05 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

Field has not been translated: [Work_Order_Schedule]Manufacturing_State. 	27.1.2022 	17:11:05 	_lang STRUCTURE_TRANSLATE 	(6. tbl_ 5)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

  database connect time: 0.0003 seconds. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

* connect: connection changed to 'postgre-demo/fi_demo'. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0123df1ef0, size: 400. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

********************* /Users/pasi/nc/nc-server/ *********************. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

1. Loading plugin: nc/worker/auth_worker. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

2. Loading plugin: nc/worker/query_worker. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

3. Loading plugin: nc/worker/query4d_worker. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

4. Loading plugin: nc/worker/call4d_worker. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

All plugins have been loaded. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

* cached preference files: demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/4d.json. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

Mac address: f84d896921dc. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949/. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

--- server started in 0.0111 seconds, 2022-01-27 17:11:07, used memory 3067.5 kb --- 	 5. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	27.1.2022 	17:11:07 	lx 	(5. Tcp Server 2)

Work end date is bigger than last capacity date, load group: RAAKA-AINE, work: New_000003#00	14.7.2022	1 12.7.2022 > 4.3.2022, using last capacity date. 	27.1.2022 	17:11:30 	ld_calc_WORK_MOVE 	(9. Loading)

